	<div class="column half fl">
		
		<div class="box themed_box">
		<h2 class="box-header"><?php echo $this->lang->line('myprofile'); ?></h2>

		<div class="box-content">
        <?php echo $this->session->flashdata('message'); ?>
		
        
        <form id="formtest" method="post" action="<?php echo site_url($form['action']); ?>">
        
            <label class="form-label required"><?php echo $this->lang->line('user_no'); ?></label>
			<input disabled="disabled" id="form-no" class="form-field width60" name="no" type="text" <?php if($table['value']<>""){ ?> disabled="disabled" <?php }?>   value="<?php if($table['value']<>"") { echo $table['value']['user_no']; } ?> " maxlength="50"/>
            
			<label class="form-label required"><?php echo $this->lang->line('user_name'); ?></label>
			<input id="form-name" class="form-field width60" name="name" type="text" value="<?php if($table['value']<>"") { echo $table['value']['name']; } ?>" maxlength="100"/>
			
            <label class="form-label"> Gender (Click One Item ) </label>

			<p class="radiocheck">
			<input id="dateformat_eu" type="radio" value="Pria" name="gender" <?php if($table['value']<>"") { if($table['value']['gender']=='Pria') { echo 'checked="checked"';  }  } ?> />
			<label for="dateformat_eu">Pria</label>
	
			<input id="dateformat_am" type="radio" value="Wanita" name="gender" <?php if($table['value']<>"") { if($table['value']['gender']=='Wanita') { echo 'checked="checked"';  }  } ?> />
			<label for="dateformat_am">Wanita</label>
			</p>
            
			<label class="form-label"><?php echo $this->lang->line('birth'); ?></label>
			<input name="birthday" class="form-field datepicker" type="text" value="<?php if($table['value']<>"") { echo $table['value']['birthday']; } ?>" />
			
			<label class="form-label"><?php echo $this->lang->line('user_call'); ?></label>
			<input id="form-username" disabled="disabled" class="form-field width60" name="user_call" type="text" value="<?php if($table['value']<>"") { echo $table['value']['username']; } ?>" maxlength="100"/>
			
            <label class="form-label"><?php echo $this->lang->line('pos'); ?></label>
            <select class="form-field width60" id="select" name="pos" title="Select a category">
                    <option value="<?php if($table['value']<>"") { echo $table['value']['pos_id']; } ?>" ><?php if($table['value']<>"") { echo $table['value']['pos_name']; } ?></option>
    			<?php foreach($table['pos'] as $rowpos): ?>
                    <option value="<?php echo $rowpos['id']; ?>"><?php echo $rowpos['pos_name']; ?></option>
                <?php endforeach;?>
            </select>
			<?php if($this->session->userdata('user_group')== $this->config->item('admin')): ?>
            <br />
            <label class="form-label"><?php echo $this->lang->line('group'); ?></label>
            
			<select class="form-field width60" id="select" name="group" title="Select a category">
                    <option value="<?php if($table['value']<>"") { echo $table['value']['group_id']; } ?>" ><?php if($table['value']<>"") { echo $table['value']['group_name']; } ?></option>
    			
    				<?php foreach($table['group'] as $rowgroup): ?>
                    <option value="<?php echo $rowgroup['id']; ?>"><?php echo $rowgroup['group_name']; ?></option>
                <?php endforeach;?>
            </select>
			<?php else: ?>
				<input type="hidden" name="group" value="<?php echo $table['value']['group_id'];?>" />
			<?php endif;?>
            
			<label class="form-label"><?php echo $this->lang->line('email'); ?></label>
			<input id="form-email" class="form-field width60" name="email" type="text" value="<?php if($table['value']<>"") { echo $table['value']['email']; } ?>" maxlength="100"/>
			
			<label class="form-label"><?php echo $this->lang->line('con_email'); ?></label>
			<input id="form-confirmemail" class="form-field width60" name="email_confirm" type="text" value="<?php if($table['value']<>"") { echo $table['value']['email']; } ?>" maxlength="100"/>
            
            <label class="form-label"><?php echo $this->lang->line('tlp'); ?></label>
			<input id="form-tlp" class="form-field width60" name="tlp" type="text" value="<?php if($table['value']<>"") { echo $table['value']['tlp']; } ?>" maxlength="100"/>
			
			<label class="form-label"><?php echo $this->lang->line('address'); ?></label>
			<input id="form-address" class="form-field width90" name="address" type="text" value="<?php if($table['value']<>"") { echo $table['value']['address']; } ?>" maxlength="100"/>
			
			<label class="form-label"> Status (Click One Item ) </label>
			<p class="radiocheck">
			<input id="status_eu" type="radio" value="Menikah" name="status" <?php if($table['value']<>"") { if($table['value']['status']=='Menikah') { echo 'checked="checked"';  }  } ?>/>
			<label for="status_eu">Menikah</label>
	
			<input id="status_am" type="radio" value="Belum Menikah" name="status" <?php if($table['value']<>"") { if($table['value']['status']=='Belum Menikah') { echo 'checked="checked"';  }  } ?> />
			<label for="status_am">Belum Menikah</label>
			</p>
            
           	<label class="form-label"><?php echo $this->lang->line('city'); ?></label>
			<input id="form-city" class="form-field width60" name="city" type="text" value="<?php if($table['value']<>"") { echo $table['value']['city']; } ?>" maxlength="100"/>
            
            <label class="form-label"><?php echo $this->lang->line('zipcode'); ?></label>
			<input id="form-zip" class="form-field width60" name="zipcode" type="text" value="<?php if($table['value']<>"") { echo $table['value']['zip_code']; } ?>" maxlength="50"/>
			
            <label class="form-label"><?php echo $this->lang->line('hobby'); ?></label>
			<textarea id="form-message" class="form-field width90" name="hobby" cols="" rows="2"><?php if($table['value']<>"") { echo $table['value']['hobby']; } ?></textarea>
			
			<input id="reset" class="button red" type="button" value="Reset" name="reset" />
			<input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('save');?>" name="save" />
		</form>
		</div>

		</div>	
			
	</div>

	
	<div class="column half fr">
		<div class="box themed_box">
		<h2 class="box-header"><?php echo $this->lang->line('chpassword'); ?></h2>

		<div class="box-content">
        <?php echo $this->session->flashdata('message2'); ?>
		
        
        
        <form id="formtest" method="post" action="<?php echo site_url($form['action2']); ?>">
            
			<label class="form-label"><?php echo $this->lang->line('oldpassword'); ?></label>
			<input id="form-username" class="form-field width60" name="oldpassword" type="password" value="" maxlength="100"/>
			
			<label class="form-label"><?php echo $this->lang->line('user_password'); ?></label>
			<input id="form-password" class="form-field width60" name="password" type="password" value="" maxlength="100"/>
			
			<label class="form-label"><?php echo $this->lang->line('con_password'); ?></label>
		 	<input id="form-confirmpassword" class="form-field width60" name="password_confirm" type="password" value="" maxlength="100"/>
            
            <br />
			<input id="reset" class="button red" type="button" value="Reset" name="reset" />
			<input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('update');?>" name="save" />
		</form>
		</div>

		</div>
        			
	</div>